package com.enjoyor.health.HGPT.core.dto;

import com.google.common.collect.Maps;
import lombok.Data;

import java.util.Map;

/**
 * 预约配置接口
 * @author Zhu Min
 * @date 2023/10/31 10:47
 */
@Data
public class ReservationWeekDtoV2 {

    private String packageType;
    private String packageTypeName;

    private Map<Integer, ReservationDayDto> dayMap = Maps.newLinkedHashMap();

    @Data
    public static class ReservationDayDto {

        private Integer index;

        private String day;

        private Map<Integer, ReservationPeriodDto> periodMap = Maps.newLinkedHashMap();

        @Data
        public static class ReservationPeriodDto{
            private Integer index;
            private String period;
            //多个体检包配置
            private Map<Integer, TypeNumberDto> typeNumberMap = Maps.newLinkedHashMap();
            @Data
            public static class TypeNumberDto{
                private Integer index;
                private Integer packageType;
                private String packageTypeNme;
                private Integer number;
            }
        }
    }
}
